package com.gh.manager.grade.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gh.common.annotation.Excel;
import com.gh.common.core.domain.BaseEntity;

/**
 * 年级对象 gh_grade
 * 
 * @author andas
 * @date 2024-12-29
 */
public class GhGrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long gradeId;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    public void setGradeId(Long gradeId) 
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId() 
    {
        return gradeId;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gradeId", getGradeId())
            .append("grade", getGrade())
            .toString();
    }
}
